home *** CD-ROM | disk | FTP | other *** search
/ PC Advisor 2010 April / PCA177.iso / ESSENTIALS / Firefox Setup.exe / nonlocalized / defaults / pref / firefox.js < prev    next >
Encoding:
Text File  |  2009-07-15  |  39.2 KB  |  765 lines

  1. //@line 37 "e:\builds\moz2_slave\win32_build\build\browser\app\profile\firefox.js"
  2.  
  3. // XXX Toolkit-specific preferences should be moved into toolkit.js
  4.  
  5. //@line 41 "e:\builds\moz2_slave\win32_build\build\browser\app\profile\firefox.js"
  6.  
  7. //@line 44 "e:\builds\moz2_slave\win32_build\build\browser\app\profile\firefox.js"
  8.  
  9. //@line 50 "e:\builds\moz2_slave\win32_build\build\browser\app\profile\firefox.js"
  10.  
  11. pref("general.startup.browser", true);
  12.  
  13. pref("browser.chromeURL","chrome://browser/content/");
  14. pref("browser.hiddenWindowChromeURL", "chrome://browser/content/hiddenWindow.xul");
  15. pref("xpinstall.dialog.confirm", "chrome://mozapps/content/xpinstall/xpinstallConfirm.xul");
  16. pref("xpinstall.dialog.progress.skin", "chrome://mozapps/content/extensions/extensions.xul");
  17. pref("xpinstall.dialog.progress.chrome", "chrome://mozapps/content/extensions/extensions.xul");
  18. pref("xpinstall.dialog.progress.type.skin", "Extension:Manager");
  19. pref("xpinstall.dialog.progress.type.chrome", "Extension:Manager");
  20.  
  21. // Developers can set this to |true| if they are constantly changing files in their 
  22. // extensions directory so that the extension system does not constantly think that
  23. // their extensions are being updated and thus reregistered every time the app is
  24. // started.
  25. pref("extensions.ignoreMTimeChanges", false);
  26. // Enables some extra Extension System Logging (can reduce performance)
  27. pref("extensions.logging.enabled", false);
  28. // Hides the install button in the add-ons mgr
  29. pref("extensions.hideInstallButton", true);
  30.  
  31. // Preferences for the Get Add-ons pane
  32. pref("extensions.getAddons.showPane", true);
  33. pref("extensions.getAddons.browseAddons", "https://%LOCALE%.add-ons.mozilla.com/%LOCALE%/%APP%");
  34. pref("extensions.getAddons.maxResults", 5);
  35. pref("extensions.getAddons.recommended.browseURL", "https://%LOCALE%.add-ons.mozilla.com/%LOCALE%/%APP%/recommended");
  36. pref("extensions.getAddons.recommended.url", "https://services.addons.mozilla.org/%LOCALE%/%APP%/api/%API_VERSION%/list/featured/all/10/%OS%/%VERSION%");
  37. pref("extensions.getAddons.search.browseURL", "https://%LOCALE%.add-ons.mozilla.com/%LOCALE%/%APP%/search?q=%TERMS%");
  38. pref("extensions.getAddons.search.url", "https://services.addons.mozilla.org/%LOCALE%/%APP%/api/%API_VERSION%/search/%TERMS%/all/10/%OS%/%VERSION%");
  39.  
  40. // Blocklist preferences
  41. pref("extensions.blocklist.enabled", true);
  42. pref("extensions.blocklist.interval", 86400);
  43. // Controls what level the blocklist switches from warning about items to forcibly
  44. // blocking them.
  45. pref("extensions.blocklist.level", 2);
  46. pref("extensions.blocklist.url", "https://addons.mozilla.org/blocklist/3/%APP_ID%/%APP_VERSION%/%PRODUCT%/%BUILD_ID%/%BUILD_TARGET%/%LOCALE%/%CHANNEL%/%OS_VERSION%/%DISTRIBUTION%/%DISTRIBUTION_VERSION%/");
  47. pref("extensions.blocklist.detailsURL", "https://www.mozilla.com/%LOCALE%/blocklist/");
  48.  
  49. // Dictionary download preference
  50. pref("browser.dictionaries.download.url", "https://%LOCALE%.add-ons.mozilla.com/%LOCALE%/firefox/%VERSION%/dictionaries/");
  51.  
  52. // App-specific update preferences
  53.  
  54. // Whether or not app updates are enabled
  55. pref("app.update.enabled", true);
  56.  
  57. // This preference turns on app.update.mode and allows automatic download and
  58. // install to take place. We use a separate boolean toggle for this to make
  59. // the UI easier to construct.
  60. pref("app.update.auto", true);
  61.  
  62. // Defines how the Application Update Service notifies the user about updates:
  63. //
  64. // AUM Set to:        Minor Releases:     Major Releases:
  65. // 0                  download no prompt  download no prompt
  66. // 1                  download no prompt  download no prompt if no incompatibilities
  67. // 2                  download no prompt  prompt
  68. //
  69. // See chart in nsUpdateService.js.in for more details
  70. //
  71. pref("app.update.mode", 1);
  72.  
  73. // If set to true, the Update Service will present no UI for any event.
  74. pref("app.update.silent", false);
  75.  
  76. // Update service URL:
  77. pref("app.update.url", "https://aus2.mozilla.org/update/3/%PRODUCT%/%VERSION%/%BUILD_ID%/%BUILD_TARGET%/%LOCALE%/%CHANNEL%/%OS_VERSION%/%DISTRIBUTION%/%DISTRIBUTION_VERSION%/update.xml");
  78. // app.update.url.manual is in branding section
  79. // app.update.url.details is in branding section
  80.  
  81. // User-settable override to app.update.url for testing purposes.
  82. //pref("app.update.url.override", "");
  83.  
  84. // app.update.interval is in branding section
  85.  
  86. // Interval: Time before prompting the user again to restart to install the
  87. //           latest download (in seconds) default=1 day
  88. pref("app.update.nagTimer.restart", 86400);
  89.  
  90. // Interval: When all registered timers should be checked (in milliseconds)
  91. //           default=10 minutes
  92. pref("app.update.timer", 600000);
  93. // Give the user x seconds to react before showing the big UI. default=12 hours
  94. pref("app.update.promptWaitTime", 43200);
  95. // Show the Update Checking/Ready UI when the user was idle for x seconds
  96. pref("app.update.idletime", 60);
  97.  
  98. // Whether or not we show a dialog box informing the user that the update was
  99. // successfully applied. This is off in Firefox by default since we show a 
  100. // upgrade start page instead! Other apps may wish to show this UI, and supply
  101. // a whatsNewURL field in their brand.properties that contains a link to a page
  102. // which tells users what's new in this new update.
  103. pref("app.update.showInstalledUI", false);
  104.  
  105. // 0 = suppress prompting for incompatibilities if there are updates available
  106. //     to newer versions of installed addons that resolve them.
  107. // 1 = suppress prompting for incompatibilities only if there are VersionInfo
  108. //     updates available to installed addons that resolve them, not newer
  109. //     versions.
  110. pref("app.update.incompatible.mode", 0);
  111.  
  112. // Symmetric (can be overridden by individual extensions) update preferences.
  113. // e.g.
  114. //  extensions.{GUID}.update.enabled
  115. //  extensions.{GUID}.update.url
  116. //  extensions.{GUID}.update.interval
  117. //  .. etc ..
  118. //
  119. pref("extensions.update.enabled", true);
  120. pref("extensions.update.url", "https://versioncheck.addons.mozilla.org/update/VersionCheck.php?reqVersion=%REQ_VERSION%&id=%ITEM_ID%&version=%ITEM_VERSION%&maxAppVersion=%ITEM_MAXAPPVERSION%&status=%ITEM_STATUS%&appID=%APP_ID%&appVersion=%APP_VERSION%&appOS=%APP_OS%&appABI=%APP_ABI%&locale=%APP_LOCALE%¤tAppVersion=%CURRENT_APP_VERSION%");
  121. pref("extensions.update.interval", 86400);  // Check for updates to Extensions and 
  122.                                             // Themes every day
  123. // Non-symmetric (not shared by extensions) extension-specific [update] preferences
  124. pref("extensions.getMoreExtensionsURL", "https://%LOCALE%.add-ons.mozilla.com/%LOCALE%/%APP%/%VERSION%/extensions/");
  125. pref("extensions.getMoreThemesURL", "https://%LOCALE%.add-ons.mozilla.com/%LOCALE%/%APP%/%VERSION%/themes/");
  126. pref("extensions.getMorePluginsURL", "https://%LOCALE%.add-ons.mozilla.com/%LOCALE%/%APP%/%VERSION%/plugins/");
  127. pref("extensions.dss.enabled", false);          // Dynamic Skin Switching                                               
  128. pref("extensions.dss.switchPending", false);    // Non-dynamic switch pending after next
  129.                                                 // restart.
  130.  
  131. pref("xpinstall.whitelist.add", "update.mozilla.org");
  132. pref("xpinstall.whitelist.add.103", "addons.mozilla.org");
  133.  
  134. pref("keyword.enabled", true);
  135. pref("keyword.URL", "chrome://browser-region/locale/region.properties");
  136.  
  137. pref("general.useragent.locale", "en-US");
  138. pref("general.skins.selectedSkin", "classic/1.0");
  139. pref("general.useragent.extra.firefox", "Firefox/3.5.1");
  140.  
  141. pref("general.smoothScroll", false);
  142. //@line 185 "e:\builds\moz2_slave\win32_build\build\browser\app\profile\firefox.js"
  143. pref("general.autoScroll", true);
  144. //@line 187 "e:\builds\moz2_slave\win32_build\build\browser\app\profile\firefox.js"
  145.  
  146. // Whether or not the application should check at startup each time if it 
  147. // is the default browser.
  148. pref("browser.shell.checkDefaultBrowser", true);
  149.  
  150. // 0 = blank, 1 = home (browser.startup.homepage), 2 = last visited page, 3 = resume previous browser session
  151. // The behavior of option 3 is detailed at: http://wiki.mozilla.org/Session_Restore
  152. pref("browser.startup.page",                1);
  153. pref("browser.startup.homepage",            "resource:/browserconfig.properties");
  154.  
  155. pref("browser.enable_automatic_image_resizing", true);
  156. pref("browser.chrome.site_icons", true);
  157. pref("browser.chrome.favicons", true);
  158. pref("browser.formfill.enable", true);
  159. pref("browser.warnOnQuit", true);
  160. pref("browser.warnOnRestart", true);
  161. pref("browser.fullscreen.autohide", true);
  162. pref("browser.fullscreen.animateUp", 1);
  163.  
  164. //@line 209 "e:\builds\moz2_slave\win32_build\build\browser\app\profile\firefox.js"
  165. pref("browser.urlbar.clickSelectsAll", true);
  166. //@line 214 "e:\builds\moz2_slave\win32_build\build\browser\app\profile\firefox.js"
  167. pref("browser.urlbar.doubleClickSelectsAll", false);
  168. //@line 216 "e:\builds\moz2_slave\win32_build\build\browser\app\profile\firefox.js"
  169. pref("browser.urlbar.autoFill", false);
  170. // 0: Match anywhere (e.g., middle of words)
  171. // 1: Match on word boundaries and then try matching anywhere
  172. // 2: Match only on word boundaries (e.g., after / or .)
  173. // 3: Match at the beginning of the url or title
  174. pref("browser.urlbar.matchBehavior", 1);
  175. pref("browser.urlbar.filter.javascript", true);
  176.  
  177. // the maximum number of results to show in autocomplete when doing richResults
  178. pref("browser.urlbar.maxRichResults", 12);
  179. // Size of "chunks" affects the number of places to process between each search
  180. // timeout (ms). Too big and the UI will be unresponsive; too small and we'll
  181. // be waiting on the timeout too often without many results.
  182. pref("browser.urlbar.search.chunkSize", 1000);
  183. pref("browser.urlbar.search.timeout", 100);
  184.  
  185. // The special characters below can be typed into the urlbar to either restrict
  186. // the search to visited history, bookmarked, tagged pages; or force a match on
  187. // just the title text or url.
  188. pref("browser.urlbar.restrict.history", "^");
  189. pref("browser.urlbar.restrict.bookmark", "*");
  190. pref("browser.urlbar.restrict.tag", "+");
  191. pref("browser.urlbar.restrict.typed", "~");
  192. pref("browser.urlbar.match.title", "#");
  193. pref("browser.urlbar.match.url", "@");
  194.  
  195. // The default behavior for the urlbar can be configured to use any combination
  196. // of the restrict or match filters with each additional filter restricting
  197. // more (intersection). Add the following values to set the behavior as the
  198. // default: 1: history, 2: bookmark, 4: tag, 8: title, 16: url, 32: typed
  199. // E.g., 0 = show all results (no filtering), 1 = only visited pages in history,
  200. // 2 = only bookmarks, 3 = visited bookmarks, 1+16 = history matching in the url
  201. pref("browser.urlbar.default.behavior", 0);
  202.  
  203. // Number of milliseconds to wait for the http headers (and thus
  204. // the Content-Disposition filename) before giving up and falling back to 
  205. // picking a filename without that info in hand so that the user sees some
  206. // feedback from their action.
  207. pref("browser.download.saveLinkAsFilenameTimeout", 1000);
  208.  
  209. pref("browser.download.useDownloadDir", true);
  210. pref("browser.download.folderList", 1);
  211. pref("browser.download.manager.showAlertOnComplete", true);
  212. pref("browser.download.manager.showAlertInterval", 2000);
  213. pref("browser.download.manager.retention", 2);
  214. pref("browser.download.manager.showWhenStarting", true);
  215. pref("browser.download.manager.closeWhenDone", false);
  216. pref("browser.download.manager.focusWhenStarting", false);
  217. pref("browser.download.manager.flashCount", 2);
  218. pref("browser.download.manager.addToRecentDocs", true);
  219. pref("browser.download.manager.quitBehavior", 0);
  220. pref("browser.download.manager.scanWhenDone", true);
  221. pref("browser.download.manager.resumeOnWakeDelay", 10000);
  222.  
  223. // search engines URL
  224. pref("browser.search.searchEnginesURL",      "https://%LOCALE%.add-ons.mozilla.com/%LOCALE%/firefox/%VERSION%/search-engines/");
  225.  
  226. // pointer to the default engine name
  227. pref("browser.search.defaultenginename",      "chrome://browser-region/locale/region.properties");
  228.  
  229. // disable logging for the search service by default
  230. pref("browser.search.log", false);
  231.  
  232. // Ordering of Search Engines in the Engine list. 
  233. pref("browser.search.order.1",                "chrome://browser-region/locale/region.properties");
  234. pref("browser.search.order.2",                "chrome://browser-region/locale/region.properties");
  235.  
  236. // search bar results always open in a new tab
  237. pref("browser.search.openintab", false);
  238.  
  239. // send ping to the server to update
  240. pref("browser.search.update", true);
  241.  
  242. // disable logging for the search service update system by default
  243. pref("browser.search.update.log", false);
  244.  
  245. // Check whether we need to perform engine updates every 6 hours
  246. pref("browser.search.updateinterval", 6);
  247.  
  248. // Whether or not microsummary and generator updates are enabled
  249. pref("browser.microsummary.enabled", true);
  250. pref("browser.microsummary.updateGenerators", true);
  251.  
  252. // enable search suggestions by default
  253. pref("browser.search.suggest.enabled", true);
  254.  
  255. pref("browser.history.grouping", "day");
  256. pref("browser.history.showSessions", false);
  257. pref("browser.sessionhistory.max_entries", 50);
  258. pref("browser.history_expire_days", 180);
  259. pref("browser.history_expire_days_min", 90);
  260. pref("browser.history_expire_sites", 40000);
  261.  
  262. // handle links targeting new windows
  263. // 0=default window, 1=current window/tab, 2=new window, 3=new tab in most recent window
  264. pref("browser.link.open_newwindow", 3);
  265.  
  266. // 0: no restrictions - divert everything
  267. // 1: don't divert window.open at all
  268. // 2: don't divert window.open with features
  269. pref("browser.link.open_newwindow.restriction", 2);
  270.  
  271. // Tabbed browser
  272. pref("browser.tabs.autoHide", false);
  273. pref("browser.tabs.closeWindowWithLastTab", true);
  274. pref("browser.tabs.warnOnClose", true);
  275. pref("browser.tabs.warnOnOpen", true);
  276. pref("browser.tabs.maxOpenBeforeWarn", 15);
  277. pref("browser.tabs.loadInBackground", true);
  278. pref("browser.tabs.loadFolderAndReplace", true);
  279. pref("browser.tabs.opentabfor.middleclick", true);
  280. pref("browser.tabs.loadDivertedInBackground", false);
  281. pref("browser.tabs.loadBookmarksInBackground", false);
  282. pref("browser.tabs.tabMinWidth", 100);
  283. pref("browser.tabs.tabMaxWidth", 250);
  284. pref("browser.tabs.tabClipWidth", 140);
  285.  
  286. // Where to show tab close buttons:
  287. // 0  on active tab only
  288. // 1  on all tabs until tabClipWidth is reached, then active tab only
  289. // 2  no close buttons at all
  290. // 3  at the end of the tabstrip
  291. pref("browser.tabs.closeButtons", 1);
  292.  
  293. // When tabs opened by links in other tabs via a combination of 
  294. // browser.link.open_newwindow being set to 3 and target="_blank" etc are
  295. // closed:
  296. // true   return to the tab that opened this tab (its owner)
  297. // false  return to the adjacent tab (old default)
  298. pref("browser.tabs.selectOwnerOnClose", true);
  299.  
  300. pref("browser.ctrlTab.previews", true);
  301. pref("browser.ctrlTab.recentlyUsedLimit", 7);
  302.  
  303. // Default bookmark sorting
  304. pref("browser.bookmarks.sort.direction", "descending");
  305. pref("browser.bookmarks.sort.resource", "rdf:http://home.netscape.com/NC-rdf#Name");
  306.  
  307. // By default, do not export HTML at shutdown.
  308. // If true, at shutdown the bookmarks in your menu and toolbar will
  309. // be exported as HTML to the bookmarks.html file.
  310. pref("browser.bookmarks.autoExportHTML",          false);
  311.  
  312. // The maximum number of daily bookmark backups to 
  313. // keep in {PROFILEDIR}/bookmarkbackups. Special values:
  314. // -1: unlimited
  315. //  0: no backups created (and deletes all existing backups)
  316. pref("browser.bookmarks.max_backups",             5);
  317.  
  318. // Scripts & Windows prefs
  319. pref("dom.disable_open_during_load",              true);
  320. //@line 371 "e:\builds\moz2_slave\win32_build\build\browser\app\profile\firefox.js"
  321. pref("javascript.options.showInConsole",          false);
  322. //@line 373 "e:\builds\moz2_slave\win32_build\build\browser\app\profile\firefox.js"
  323.  
  324. // Make the status bar reliably present and unaffected by pages
  325. pref("dom.disable_window_open_feature.status",    true);
  326. // This is the pref to control the location bar, change this to true to 
  327. // force this instead of or in addition to the status bar - this makes 
  328. // the origin of popup windows more obvious to avoid spoofing. We would 
  329. // rather not do it by default because it affects UE for web applications, but
  330. // without it there isn't a really good way to prevent chrome spoofing, see bug 337344
  331. pref("dom.disable_window_open_feature.location",  true);
  332. pref("dom.disable_window_status_change",          true);
  333. // allow JS to move and resize existing windows
  334. pref("dom.disable_window_move_resize",            false);
  335. // prevent JS from monkeying with window focus, etc
  336. pref("dom.disable_window_flip",                   true);
  337.  
  338. // popups.policy 1=allow,2=reject
  339. pref("privacy.popups.policy",               1);
  340. pref("privacy.popups.usecustom",            true);
  341. pref("privacy.popups.firstTime",            true);
  342. pref("privacy.popups.showBrowserMessage",   true);
  343.  
  344. pref("privacy.item.cookies",                false);
  345.  
  346. pref("privacy.clearOnShutdown.history",     true);
  347. pref("privacy.clearOnShutdown.formdata",    true);
  348. pref("privacy.clearOnShutdown.passwords",   false);
  349. pref("privacy.clearOnShutdown.downloads",   true);
  350. pref("privacy.clearOnShutdown.cookies",     true);
  351. pref("privacy.clearOnShutdown.cache",       true);
  352. pref("privacy.clearOnShutdown.sessions",    true);
  353. pref("privacy.clearOnShutdown.offlineApps", false);
  354. pref("privacy.clearOnShutdown.siteSettings", false);
  355.  
  356. pref("privacy.cpd.history",                 true);
  357. pref("privacy.cpd.formdata",                true);
  358. pref("privacy.cpd.passwords",               false);
  359. pref("privacy.cpd.downloads",               true);
  360. pref("privacy.cpd.cookies",                 true);
  361. pref("privacy.cpd.cache",                   true);
  362. pref("privacy.cpd.sessions",                true);
  363. pref("privacy.cpd.offlineApps",             false);
  364. pref("privacy.cpd.siteSettings",            false);
  365.  
  366. // What default should we use for the time span in the sanitizer:
  367. // 0 - Clear everything
  368. // 1 - Last Hour
  369. // 2 - Last 2 Hours
  370. // 3 - Last 4 Hours
  371. // 4 - Today
  372. pref("privacy.sanitize.timeSpan", 1);
  373. pref("privacy.sanitize.sanitizeOnShutdown", false);
  374.  
  375. pref("privacy.sanitize.migrateFx3Prefs",    false);
  376.  
  377. pref("network.proxy.share_proxy_settings",  false); // use the same proxy settings for all protocols
  378.  
  379. pref("network.cookie.cookieBehavior", 0); // 0-Accept, 1-dontAcceptForeign, 2-dontUse
  380.  
  381. // l12n and i18n
  382. pref("intl.accept_languages", "chrome://global/locale/intl.properties");
  383. pref("intl.charsetmenu.browser.static", "chrome://global/locale/intl.properties");
  384. pref("intl.charsetmenu.browser.more1",  "chrome://global/locale/intl.properties");
  385. pref("intl.charsetmenu.browser.more2",  "chrome://global/locale/intl.properties");
  386. pref("intl.charsetmenu.browser.more3",  "chrome://global/locale/intl.properties");
  387. pref("intl.charsetmenu.browser.more4",  "chrome://global/locale/intl.properties");
  388. pref("intl.charsetmenu.browser.more5",  "chrome://global/locale/intl.properties");
  389. pref("intl.charsetmenu.browser.unicode",  "chrome://global/locale/intl.properties");
  390. pref("intl.charset.detector", "chrome://global/locale/intl.properties");
  391. pref("intl.charset.default",  "chrome://global-platform/locale/intl.properties");
  392. pref("font.language.group", "chrome://global/locale/intl.properties");
  393. pref("intl.menuitems.alwaysappendaccesskeys","chrome://global/locale/intl.properties");
  394. pref("intl.menuitems.insertseparatorbeforeaccesskeys","chrome://global/locale/intl.properties");
  395.  
  396. // simple gestures support
  397. pref("browser.gesture.swipe.left", "Browser:BackOrBackDuplicate");
  398. pref("browser.gesture.swipe.right", "Browser:ForwardOrForwardDuplicate");
  399. pref("browser.gesture.swipe.up", "cmd_scrollTop");
  400. pref("browser.gesture.swipe.down", "cmd_scrollBottom");
  401. //@line 455 "e:\builds\moz2_slave\win32_build\build\browser\app\profile\firefox.js"
  402. pref("browser.gesture.pinch.latched", false);
  403. pref("browser.gesture.pinch.threshold", 25);
  404. //@line 458 "e:\builds\moz2_slave\win32_build\build\browser\app\profile\firefox.js"
  405. pref("browser.gesture.pinch.out", "cmd_fullZoomEnlarge");
  406. pref("browser.gesture.pinch.in", "cmd_fullZoomReduce");
  407. pref("browser.gesture.pinch.out.shift", "cmd_fullZoomReset");
  408. pref("browser.gesture.pinch.in.shift", "cmd_fullZoomReset");
  409. pref("browser.gesture.twist.latched", false);
  410. pref("browser.gesture.twist.threshold", 25);
  411. pref("browser.gesture.twist.right", "");
  412. pref("browser.gesture.twist.left", "");
  413. pref("browser.gesture.tap", "cmd_fullZoomReset");
  414.  
  415. // 0=lines, 1=pages, 2=history , 3=text size
  416. //@line 483 "e:\builds\moz2_slave\win32_build\build\browser\app\profile\firefox.js"
  417. pref("mousewheel.withshiftkey.action",2);
  418. pref("mousewheel.withshiftkey.sysnumlines",false);
  419. pref("mousewheel.withshiftkey.numlines",1);
  420. pref("mousewheel.withaltkey.action",0);
  421. pref("mousewheel.withaltkey.sysnumlines",false);
  422. pref("mousewheel.withaltkey.numlines",1);
  423. pref("mousewheel.withmetakey.action",0);
  424. pref("mousewheel.withmetakey.sysnumlines",true);
  425. pref("mousewheel.withmetakey.numlines",1);
  426. //@line 493 "e:\builds\moz2_slave\win32_build\build\browser\app\profile\firefox.js"
  427. pref("mousewheel.withcontrolkey.action",3);
  428. pref("mousewheel.withcontrolkey.sysnumlines",false);
  429. pref("mousewheel.withcontrolkey.numlines",1);
  430.  
  431. pref("profile.allow_automigration", false);   // setting to false bypasses automigration in the profile code
  432.  
  433. // Customizable toolbar stuff
  434. pref("custtoolbar.personal_toolbar_folder", "");
  435.  
  436. // pref to control the alert notification 
  437. pref("alerts.slideIncrement", 1);
  438. pref("alerts.slideIncrementTime", 10);
  439. pref("alerts.totalOpenTime", 4000);
  440.  
  441. pref("browser.xul.error_pages.enabled", true);
  442. pref("browser.xul.error_pages.expert_bad_cert", false);
  443.  
  444. // We want to make sure mail URLs are handled externally...
  445. pref("network.protocol-handler.external.mailto", true); // for mail
  446. pref("network.protocol-handler.external.news", true);   // for news
  447. pref("network.protocol-handler.external.snews", true);  // for secure news
  448. pref("network.protocol-handler.external.nntp", true);   // also news
  449. // ...without warning dialogs
  450. pref("network.protocol-handler.warn-external.mailto", false);
  451. pref("network.protocol-handler.warn-external.news", false);
  452. pref("network.protocol-handler.warn-external.snews", false);
  453. pref("network.protocol-handler.warn-external.nntp", false);
  454.  
  455. // By default, all protocol handlers are exposed.  This means that
  456. // the browser will respond to openURL commands for all URL types.
  457. // It will also try to open link clicks inside the browser before
  458. // failing over to the system handlers.
  459. pref("network.protocol-handler.expose-all", true);
  460. pref("network.protocol-handler.expose.mailto", false);
  461. pref("network.protocol-handler.expose.news", false);
  462. pref("network.protocol-handler.expose.snews", false);
  463. pref("network.protocol-handler.expose.nntp", false);
  464.  
  465. // Default security warning dialogs to show once.
  466. pref("security.warn_entering_secure.show_once", false);
  467. pref("security.warn_entering_weak.show_once", true);
  468. pref("security.warn_leaving_secure.show_once", false);
  469. pref("security.warn_viewing_mixed.show_once", true);
  470. pref("security.warn_submit_insecure.show_once", false);
  471.  
  472. pref("accessibility.typeaheadfind", false);
  473. pref("accessibility.typeaheadfind.timeout", 5000);
  474. pref("accessibility.typeaheadfind.linksonly", false);
  475. pref("accessibility.typeaheadfind.flashBar", 1);
  476.  
  477. // Disable the default plugin for firefox
  478. pref("plugin.default_plugin_disabled", true);
  479.  
  480. // plugin finder service url
  481. pref("pfs.datasource.url", "https://pfs.mozilla.org/plugins/PluginFinderService.php?mimetype=%PLUGIN_MIMETYPE%&appID=%APP_ID%&appVersion=%APP_VERSION%&clientOS=%CLIENT_OS%&chromeLocale=%CHROME_LOCALE%&appRelease=%APP_RELEASE%");
  482.  
  483. // by default we show an infobar message when pages require plugins the user has not installed
  484. pref("plugins.hide_infobar_for_missing_plugin", false);
  485.  
  486. //@line 553 "e:\builds\moz2_slave\win32_build\build\browser\app\profile\firefox.js"
  487. pref("browser.preferences.instantApply", false);
  488. //@line 560 "e:\builds\moz2_slave\win32_build\build\browser\app\profile\firefox.js"
  489. pref("browser.preferences.animateFadeIn", false);
  490. //@line 562 "e:\builds\moz2_slave\win32_build\build\browser\app\profile\firefox.js"
  491.  
  492. pref("browser.download.show_plugins_in_list", true);
  493. pref("browser.download.hide_plugins_without_extensions", true);
  494.  
  495. // Backspace and Shift+Backspace behavior
  496. // 0 goes Back/Forward
  497. // 1 act like PgUp/PgDown
  498. // 2 and other values, nothing
  499. //@line 573 "e:\builds\moz2_slave\win32_build\build\browser\app\profile\firefox.js"
  500. pref("browser.backspace_action", 0);
  501. //@line 575 "e:\builds\moz2_slave\win32_build\build\browser\app\profile\firefox.js"
  502.  
  503. // this will automatically enable inline spellchecking (if it is available) for
  504. // editable elements in HTML
  505. // 0 = spellcheck nothing
  506. // 1 = check multi-line controls [default]
  507. // 2 = check multi/single line controls
  508. pref("layout.spellcheckDefault", 1);
  509.  
  510. pref("browser.send_pings", false);
  511.  
  512. /* initial web feed readers list */
  513. pref("browser.contentHandlers.types.0.title", "chrome://browser-region/locale/region.properties");
  514. pref("browser.contentHandlers.types.0.uri", "chrome://browser-region/locale/region.properties");
  515. pref("browser.contentHandlers.types.0.type", "application/vnd.mozilla.maybe.feed");
  516. pref("browser.contentHandlers.types.1.title", "chrome://browser-region/locale/region.properties");
  517. pref("browser.contentHandlers.types.1.uri", "chrome://browser-region/locale/region.properties");
  518. pref("browser.contentHandlers.types.1.type", "application/vnd.mozilla.maybe.feed");
  519. pref("browser.contentHandlers.types.2.title", "chrome://browser-region/locale/region.properties");
  520. pref("browser.contentHandlers.types.2.uri", "chrome://browser-region/locale/region.properties");
  521. pref("browser.contentHandlers.types.2.type", "application/vnd.mozilla.maybe.feed");
  522. pref("browser.contentHandlers.types.3.title", "chrome://browser-region/locale/region.properties");
  523. pref("browser.contentHandlers.types.3.uri", "chrome://browser-region/locale/region.properties");
  524. pref("browser.contentHandlers.types.3.type", "application/vnd.mozilla.maybe.feed");
  525. pref("browser.contentHandlers.types.4.title", "chrome://browser-region/locale/region.properties");
  526. pref("browser.contentHandlers.types.4.uri", "chrome://browser-region/locale/region.properties");
  527. pref("browser.contentHandlers.types.4.type", "application/vnd.mozilla.maybe.feed");
  528. pref("browser.contentHandlers.types.5.title", "chrome://browser-region/locale/region.properties");
  529. pref("browser.contentHandlers.types.5.uri", "chrome://browser-region/locale/region.properties");
  530. pref("browser.contentHandlers.types.5.type", "application/vnd.mozilla.maybe.feed");
  531.  
  532. pref("browser.feeds.handler", "ask");
  533. pref("browser.videoFeeds.handler", "ask");
  534. pref("browser.audioFeeds.handler", "ask");
  535.  
  536. // At startup, if the handler service notices that the version number in the
  537. // region.properties file is newer than the version number in the handler
  538. // service datastore, it will add any new handlers it finds in the prefs (as
  539. // seeded by this file) to its datastore.  
  540. pref("gecko.handlerService.defaultHandlersVersion", "chrome://browser-region/locale/region.properties");
  541.  
  542. // The default set of web-based protocol handlers shown in the application
  543. // selection dialog for webcal: ; I've arbitrarily picked 4 default handlers
  544. // per protocol, but if some locale wants more than that (or defaults for some
  545. // protocol not currently listed here), we should go ahead and add those.
  546.  
  547. // webcal
  548. pref("gecko.handlerService.schemes.webcal.0.name", "chrome://browser-region/locale/region.properties");
  549. pref("gecko.handlerService.schemes.webcal.0.uriTemplate", "chrome://browser-region/locale/region.properties");
  550. pref("gecko.handlerService.schemes.webcal.1.name", "chrome://browser-region/locale/region.properties");
  551. pref("gecko.handlerService.schemes.webcal.1.uriTemplate", "chrome://browser-region/locale/region.properties");
  552. pref("gecko.handlerService.schemes.webcal.2.name", "chrome://browser-region/locale/region.properties");
  553. pref("gecko.handlerService.schemes.webcal.2.uriTemplate", "chrome://browser-region/locale/region.properties");
  554. pref("gecko.handlerService.schemes.webcal.3.name", "chrome://browser-region/locale/region.properties");
  555. pref("gecko.handlerService.schemes.webcal.3.uriTemplate", "chrome://browser-region/locale/region.properties");
  556.  
  557. // mailto
  558. pref("gecko.handlerService.schemes.mailto.0.name", "chrome://browser-region/locale/region.properties");
  559. pref("gecko.handlerService.schemes.mailto.0.uriTemplate", "chrome://browser-region/locale/region.properties");
  560. pref("gecko.handlerService.schemes.mailto.1.name", "chrome://browser-region/locale/region.properties");
  561. pref("gecko.handlerService.schemes.mailto.1.uriTemplate", "chrome://browser-region/locale/region.properties");
  562. pref("gecko.handlerService.schemes.mailto.2.name", "chrome://browser-region/locale/region.properties");
  563. pref("gecko.handlerService.schemes.mailto.2.uriTemplate", "chrome://browser-region/locale/region.properties");
  564. pref("gecko.handlerService.schemes.mailto.3.name", "chrome://browser-region/locale/region.properties");
  565. pref("gecko.handlerService.schemes.mailto.3.uriTemplate", "chrome://browser-region/locale/region.properties");
  566.  
  567. // irc
  568. pref("gecko.handlerService.schemes.irc.0.name", "chrome://browser-region/locale/region.properties");
  569. pref("gecko.handlerService.schemes.irc.0.uriTemplate", "chrome://browser-region/locale/region.properties");
  570. pref("gecko.handlerService.schemes.irc.1.name", "chrome://browser-region/locale/region.properties");
  571. pref("gecko.handlerService.schemes.irc.1.uriTemplate", "chrome://browser-region/locale/region.properties");
  572. pref("gecko.handlerService.schemes.irc.2.name", "chrome://browser-region/locale/region.properties");
  573. pref("gecko.handlerService.schemes.irc.2.uriTemplate", "chrome://browser-region/locale/region.properties");
  574. pref("gecko.handlerService.schemes.irc.3.name", "chrome://browser-region/locale/region.properties");
  575. pref("gecko.handlerService.schemes.irc.3.uriTemplate", "chrome://browser-region/locale/region.properties");
  576.  
  577. // ircs
  578. pref("gecko.handlerService.schemes.ircs.0.name", "chrome://browser-region/locale/region.properties");
  579. pref("gecko.handlerService.schemes.ircs.0.uriTemplate", "chrome://browser-region/locale/region.properties");
  580. pref("gecko.handlerService.schemes.ircs.1.name", "chrome://browser-region/locale/region.properties");
  581. pref("gecko.handlerService.schemes.ircs.1.uriTemplate", "chrome://browser-region/locale/region.properties");
  582. pref("gecko.handlerService.schemes.ircs.2.name", "chrome://browser-region/locale/region.properties");
  583. pref("gecko.handlerService.schemes.ircs.2.uriTemplate", "chrome://browser-region/locale/region.properties");
  584. pref("gecko.handlerService.schemes.ircs.3.name", "chrome://browser-region/locale/region.properties");
  585. pref("gecko.handlerService.schemes.ircs.3.uriTemplate", "chrome://browser-region/locale/region.properties");
  586.  
  587. // By default, we don't want protocol/content handlers to be registered from a different host, see bug 402287
  588. pref("gecko.handlerService.allowRegisterFromDifferentHost", false);
  589.  
  590. //@line 664 "e:\builds\moz2_slave\win32_build\build\browser\app\profile\firefox.js"
  591. // Safe browsing does nothing unless this pref is set
  592. pref("browser.safebrowsing.enabled", true);
  593.  
  594. // Prevent loading of pages identified as malware
  595. pref("browser.safebrowsing.malware.enabled", true);
  596.  
  597. // Non-enhanced mode (local url lists) URL list to check for updates
  598. pref("browser.safebrowsing.provider.0.updateURL", "http://safebrowsing.clients.google.com/safebrowsing/downloads?client={moz:client}&appver={moz:version}&pver=2.2");
  599.  
  600. pref("browser.safebrowsing.dataProvider", 0);
  601.  
  602. // Does the provider name need to be localizable?
  603. pref("browser.safebrowsing.provider.0.name", "Google");
  604. pref("browser.safebrowsing.provider.0.lookupURL", "http://safebrowsing.clients.google.com/safebrowsing/lookup?sourceid=firefox-antiphish&features=TrustRank&client={moz:client}&appver={moz:version}&");
  605. pref("browser.safebrowsing.provider.0.keyURL", "https://sb-ssl.google.com/safebrowsing/newkey?client={moz:client}&appver={moz:version}&pver=2.2");
  606. pref("browser.safebrowsing.provider.0.reportURL", "http://safebrowsing.clients.google.com/safebrowsing/report?");
  607. pref("browser.safebrowsing.provider.0.gethashURL", "http://safebrowsing.clients.google.com/safebrowsing/gethash?client={moz:client}&appver={moz:version}&pver=2.2");
  608.  
  609. // HTML report pages
  610. pref("browser.safebrowsing.provider.0.reportGenericURL", "http://{moz:locale}.phish-generic.mozilla.com/?hl={moz:locale}");
  611. pref("browser.safebrowsing.provider.0.reportErrorURL", "http://{moz:locale}.phish-error.mozilla.com/?hl={moz:locale}");
  612. pref("browser.safebrowsing.provider.0.reportPhishURL", "http://{moz:locale}.phish-report.mozilla.com/?hl={moz:locale}");
  613. pref("browser.safebrowsing.provider.0.reportMalwareURL", "http://{moz:locale}.malware-report.mozilla.com/?hl={moz:locale}");
  614. pref("browser.safebrowsing.provider.0.reportMalwareErrorURL", "http://{moz:locale}.malware-error.mozilla.com/?hl={moz:locale}");
  615.  
  616. // FAQ URLs
  617. pref("browser.safebrowsing.warning.infoURL", "http://%LOCALE%.www.mozilla.com/%LOCALE%/firefox/phishing-protection/");
  618. pref("browser.geolocation.warning.infoURL", "http://%LOCALE%.www.mozilla.com/%LOCALE%/firefox/geolocation/");
  619.  
  620. // Name of the about: page contributed by safebrowsing to handle display of error
  621. // pages on phishing/malware hits.  (bug 399233)
  622. pref("urlclassifier.alternate_error_page", "blocked");
  623.  
  624. // The number of random entries to send with a gethash request.
  625. pref("urlclassifier.gethashnoise", 4);
  626.  
  627. // The list of tables that use the gethash request to confirm partial results.
  628. pref("urlclassifier.gethashtables", "goog-phish-shavar,goog-malware-shavar");
  629.  
  630. // If an urlclassifier table has not been updated in this number of seconds,
  631. // a gethash request will be forced to check that the result is still in
  632. // the database.
  633. pref("urlclassifier.confirm-age", 2700);
  634.  
  635. //@line 714 "e:\builds\moz2_slave\win32_build\build\browser\app\profile\firefox.js"
  636.  
  637. // Maximum size of the sqlite3 cache during an update, in bytes
  638. //@line 719 "e:\builds\moz2_slave\win32_build\build\browser\app\profile\firefox.js"
  639. pref("urlclassifier.updatecachemax", -1);
  640. //@line 721 "e:\builds\moz2_slave\win32_build\build\browser\app\profile\firefox.js"
  641.  
  642. // URL for checking the reason for a malware warning.
  643. pref("browser.safebrowsing.malware.reportURL", "http://safebrowsing.clients.google.com/safebrowsing/diagnostic?client=%NAME%&hl=%LOCALE%&site=");
  644.  
  645. //@line 726 "e:\builds\moz2_slave\win32_build\build\browser\app\profile\firefox.js"
  646.  
  647. pref("browser.EULA.version", 3);
  648. pref("browser.rights.version", 3);
  649. pref("browser.rights.3.shown", false);
  650.  
  651. //@line 735 "e:\builds\moz2_slave\win32_build\build\browser\app\profile\firefox.js"
  652.  
  653. pref("browser.sessionstore.resume_from_crash", true);
  654. pref("browser.sessionstore.resume_session_once", false);
  655.  
  656. // minimal interval between two save operations in milliseconds
  657. pref("browser.sessionstore.interval", 10000);
  658. // maximum amount of POSTDATA to be saved in bytes per history entry (-1 = all of it)
  659. // (NB: POSTDATA will be saved either entirely or not at all)
  660. pref("browser.sessionstore.postdata", 0);
  661. // on which sites to save text data, POSTDATA and cookies
  662. // 0 = everywhere, 1 = unencrypted sites, 2 = nowhere
  663. pref("browser.sessionstore.privacy_level", 1);
  664. // how many tabs can be reopened (per window)
  665. pref("browser.sessionstore.max_tabs_undo", 10);
  666. // how many windows can be reopened (per session) - on non-OS X platforms this
  667. // pref may be ignored when dealing with pop-up windows to ensure proper startup
  668. pref("browser.sessionstore.max_windows_undo", 3);
  669. // number of crashes that can occur before the about:sessionrestore page is displayed
  670. // (this pref has no effect if more than 6 hours have passed since the last crash)
  671. pref("browser.sessionstore.max_resumed_crashes", 1);
  672.  
  673. // allow META refresh by default
  674. pref("accessibility.blockautorefresh", false);
  675.  
  676. // the (maximum) number of the recent visits to sample
  677. // when calculating frecency
  678. pref("places.frecency.numVisits", 10);
  679.  
  680. // Number of records to update frecency for when idle.
  681. pref("places.frecency.numCalcOnIdle", 50);
  682.  
  683. // Number of records to update frecency for when migrating from
  684. // a pre-frecency build.
  685. pref("places.frecency.numCalcOnMigrate", 50);
  686.  
  687. // Perform frecency recalculation after this amount of idle, repeating.
  688. // A value of zero disables updating of frecency on idle.
  689. // Default is 1 minute (60000ms).
  690. pref("places.frecency.updateIdleTime", 60000);
  691.  
  692. // buckets (in days) for frecency calculation
  693. pref("places.frecency.firstBucketCutoff", 4);
  694. pref("places.frecency.secondBucketCutoff", 14);
  695. pref("places.frecency.thirdBucketCutoff", 31);
  696. pref("places.frecency.fourthBucketCutoff", 90);
  697.  
  698. // weights for buckets for frecency calculations
  699. pref("places.frecency.firstBucketWeight", 100);
  700. pref("places.frecency.secondBucketWeight", 70);
  701. pref("places.frecency.thirdBucketWeight", 50);
  702. pref("places.frecency.fourthBucketWeight", 30);
  703. pref("places.frecency.defaultBucketWeight", 10);
  704.  
  705. // bonus (in percent) for visit transition types for frecency calculations
  706. pref("places.frecency.embedVisitBonus", 0);
  707. pref("places.frecency.linkVisitBonus", 100);
  708. pref("places.frecency.typedVisitBonus", 2000);
  709. pref("places.frecency.bookmarkVisitBonus", 75);
  710. pref("places.frecency.downloadVisitBonus", 0);
  711. pref("places.frecency.permRedirectVisitBonus", 0);
  712. pref("places.frecency.tempRedirectVisitBonus", 0);
  713. pref("places.frecency.defaultVisitBonus", 0);
  714.  
  715. // bonus (in percent) for place types for frecency calculations
  716. pref("places.frecency.unvisitedBookmarkBonus", 140);
  717. pref("places.frecency.unvisitedTypedBonus", 200);
  718.  
  719. // Controls behavior of the "Add Exception" dialog launched from SSL error pages
  720. // 0 - don't pre-populate anything
  721. // 1 - pre-populate site URL, but don't fetch certificate
  722. // 2 - pre-populate site URL and pre-fetch certificate
  723. pref("browser.ssl_override_behavior", 2);
  724.  
  725. // Controls the display of domain in the identity box for SSL connections.
  726. // 0 - do not show domain
  727. // 1 - show effectiveTLD + 1 (e.g. mozilla.org)
  728. // 2 - show full domain (e.g. bugzilla.mozilla.org)
  729. pref("browser.identity.ssl_domain_display", 1);
  730.  
  731. // True if the user should be prompted when a web application supports
  732. // offline apps.
  733. pref("browser.offline-apps.notify", true);
  734.  
  735. // if true, use full page zoom instead of text zoom
  736. pref("browser.zoom.full", true);
  737.  
  738. // Whether or not to save and restore zoom levels on a per-site basis.
  739. pref("browser.zoom.siteSpecific", true);
  740.  
  741. // Whether or not to update background tabs to the current zoom level.
  742. pref("browser.zoom.updateBackgroundTabs", true);
  743.  
  744. // replace newlines with spaces when pasting into <input type="text"> fields
  745. pref("editor.singleLine.pasteNewlines", 2);
  746.  
  747. // The breakpad report server to link to in about:crashes
  748. pref("breakpad.reportURL", "http://crash-stats.mozilla.com/report/index/");
  749.  
  750. // base URL for web-based support pages
  751. pref("app.support.baseURL", "http://support.mozilla.com/1/%APP%/%VERSION%/%OS%/%LOCALE%/");
  752.  
  753. // Name of alternate about: page for certificate errors (when undefined, defaults to about:neterror)
  754. pref("security.alternate_certificate_error_page", "certerror");
  755.  
  756. // Whether to start the private browsing mode at application startup
  757. pref("browser.privatebrowsing.autostart", false);
  758.  
  759. // Whether we should skip prompting before starting the private browsing mode
  760. pref("browser.privatebrowsing.dont_prompt_on_enter", false);
  761.  
  762. // base url for the wifi geolocation network provider
  763. pref("geo.wifi.uri", "https://www.google.com/loc/json");
  764.  
  765.